<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css">
<script type="text/javascript" src="/resources/js/sysmanage/company/update.js"></script>
<div class="easyui-layout" fit="true"> 
    <div region="center" border="false" style="overflow-x:hidden">
        <div class="pd10">
            <div class="tableform">
             <form id="comp_fm" method="post" method="post" enctype="multipart/form-data" autocomplete = "off" > 
             	<input id="photoAddrHidden" name="indexLogo" type="hidden" value="${comp.indexLogo}"/>
                <table cellpadding="0" cellspacing="0">
                	<tr>
                		<th width="100">&nbsp;</th>
						<td><input type="hidden" id="companyId" name="companyId" value="${comp.companyId}" />
					   </td>
                    </tr>
                    <tr>
                    	<th width="100"><font color="red">*</font>企业编号：</th>
                        <td>
                        	<input name="code" style="width:150px;" value="${comp.companyCode}"  class="easyui-validatebox" disabled="disabled"/>
                        	<input name="companyCode"  type="hidden" value="${comp.companyCode}"/>
                        </td>
                    </tr>
                    <tr>
                    	<th><font color="red">*</font>企业名称：</th>
						<td>
							<input name="companyName" style="width:150px;" class="easyui-validatebox" required="true" value="${comp.companyName}" />
					   </td>
                    </tr>
                    <%-- <tr>
                    	<th><font color="red">*</font>上级企业：</th>
                        <td>
                        	<input id="parentCompanyId"  name="parentCompanyId" style="width:150px;" value="${comp.parentCompanyId}"/>
                        </td>
                    </tr> --%>
                    <tr>
                    	<th><font color="red">*</font>地址：</th>
                        <td>
                        	<input name="companyAddress" style="width:150px;"  class="easyui-validatebox" value="${comp.companyAddress}"/>
                        </td>
                    </tr>
                    <tr>
                    	<th><font color="red">*</font>联系人：</th>
                        <td>
                        	<input name="contactMan" style="width:150px;" class="easyui-validatebox" value="${comp.contactMan}"/>
                        </td>
                    </tr>
                    <tr>
                    	<th><font color="red">*</font>联系电话：</th>
                        <td>
                        	<input id="valTel" name="telephone" style="width:150px;" class="easyui-numberbox" validType="validateTel['#valTel']" value="${comp.telephone}"/>
                        </td>
                    </tr>
                    <tr>
                    	<th>传真：</th>
                        <td>
                        	<input name="fax" style="width:150px;" class="easyui-validatebox" value="${comp.fax}"/>
                        </td>
                    </tr>
                    <tr>
                    	<th>登录标识：</th>
                        <td>
                        	<input name="loginUrl" style="width:150px;" class="easyui-validatebox" value="${comp.loginUrl}"/>
                        </td>
                    </tr>
                    <tr>
						<th>企业logo：</th>
						<td>
							<input id="logo" name="logo" type="file" style="width:150px;">
						</td>
					</tr>
					<tr>
						<th></th>
						<td style="color: red;">
							（提示：图片尺寸300*75,单位:像素）
						</td>
					</tr>
                </table>
                </form>
            </div>
        </div>
    </div>
    <!--start：button区域-->
    <div region="south" style="height:36px;overflow:hidden;" border="false">
        <div class="WinBtnBody pdt5">
            <table align="center"border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <a href="javascript:void(0)" onClick="update.updateCompany()" class="easyui-linkbutton" plain="true" iconCls="add">保存</a>
                        <a href="javascript:void(0)" onClick="Ict.closeWin();" class="easyui-linkbutton" plain="true" iconCls="remove">关闭</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <!--end：button区域-->
    
</div>
